package com.zerosoft.shuguang.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties("serial")
public class SerialPortProperties {
    private String port;
    private int baudRate;
    private int dataBits;
    private int stopBits;
    private int parity;
    private int flowControl;
    private String encoding;
    private int readTimeout;
    private int writeTimeout;
}
